package com.coder.chen.indicator;

import android.support.v4.app.FragmentManager;

import com.coder.chen.indicator.adapter.FragmentAdapter;
import com.coder.chen.indicator.view.TitleProvider;

public class TitleFragmentAdapter extends FragmentAdapter implements
		TitleProvider {

	public TitleFragmentAdapter(FragmentManager fm) {
		super(fm);
	}

	@Override
	public String getTitle(int position) {
		return FragmentAdapter.CONTENT[position % CONTENT.length];
	}

}
